package at.fhooe.mc.master.clc.client.widget.interfaces;

import java.util.List;
import java.util.Set;

import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.HasClickHandlers;

public interface ICheckBoxTable extends HasClickHandlers {

	public int getRowForEvent( ClickEvent event );

	public void selectRow( int row );

	public void unSelectRow( int row );

	public void addRow(String... fields);
	
	public void addClickedRow(boolean clicked, String... fields);
	
	public void addRow(boolean enable, String... fields);

	public int getRowCount();

	public void removeRow( int row );
	
	public void removeAllRows();
	
	public Set<Integer> getSelectedRows();

}
